package zuoye0515;

/**
 * 内存 Kingston
 * 
 * @author Y
 *
 */
public class Kingston implements Memory {
	private String name;// 品牌
	private int capacity;// 容量

	public Kingston(String name, int capacity) {
		this.name = name;
		this.capacity = capacity;
	}

	public void work() {
		System.out.println(capacity + "G的,金士顿的" + name + "的内存条开始工作中...");
		System.out.println("正在读取数据和存储数据...");
	}
}
